package com.qianniu.napi.admin.service;

import com.baomidou.mybatisplus.service.IService;
import com.qianniu.napi.admin.entity.Xnbi;
import com.qianniu.napi.admin.entity.penum.IotypeEnum;
import com.qianniu.napi.admin.entity.penum.JftypeEnum;
import com.qianniu.napi.admin.entity.penum.XftypeEnum;

import java.math.BigDecimal;

/**
 * <p>
 * 虚拟币表 服务类
 * </p>
 *
 * @author chenxuebin
 * @since 2019-02-22
 */
public interface IXnbiService extends IService<Xnbi> {

    public void addXnbiFlow(Long uid, Long mid, Long mpid, BigDecimal num,
                            Boolean isconfirm, Integer fantimeType,
                            String sn, IotypeEnum iotype, JftypeEnum jftypeEnum, String remark, Long ywid);

    public Boolean xnbiFlowConfirm(String sn,Long uid);

    public Xnbi initXnbi(Long uid, Long mid, Long mpid);
}
